# == Schema Information
# Schema version: 3
#
# Table name: tracks
#
#  id         :integer(4)      not null, primary key
#  title      :string(255)
#  duration   :string(255)
#  record_id  :integer(4)
#  created_at :datetime
#  updated_at :datetime
#

class Track < ActiveRecord::Base
  belongs_to :record, :class_name => "Record", :foreign_key => "record_id"
  
  validates_presence_of :title
end
